package com.example.demo.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.stereotype.Component;

public enum TypeEnum {

    CONSUME("1","消费"),
    REFUND("2","退款");

    private String type;
    private String msg;

    private TypeEnum(String type, String msg) {
        this.type = type;
        this.msg = msg;
    }
    private TypeEnum(){}

    public String getMsg() {
        return msg;
    }

    public String getType() {
        return type;
    }
}
